<?php
/**
 * @author qingyu8@staff.weibo.com
 * @date 2018/03/11
 */
namespace common\logic;

class PaymentStatus {
    const UNSET = 0;//未设置
    const UNPAID = 1;//待支付
    const PAID = 2;//已支付
    const REFUNDING = 3;//退款中
    const REFUNDED = 4;//已退款
    const REFUND_FAIL = 5;//退款失败
    const CANCEL = 6;//取消
    const TEXT = [
        self::UNSET => '未设置',
        self::UNPAID => '待支付',
        self::PAID => '已支付',
        self::REFUNDING => '退款中',
        self::REFUNDED => '已退款',
        self::REFUND_FAIL => '退款失败',
        self::CANCEL => '取消',
    ];
}
